import request from '@/config/axios'

export const updateAllCacheApi = () => {
	return request.post({
		url: '/gateway/cache/base/updateAllCache'
	})
}

export const cacheSysUserApi = () => {
	return request.post({
		url: '/gateway/cache/base/cacheSysUser'
	})
}

export const cacheSysUserRoleApi = () => {
	return request.post({
		url: '/gateway/cache/base/cacheSysUserRole'
	})
}

export const cacheSysRoleAuthorityApi = () => {
	return request.post({
		url: '/gateway/cache/base/cacheSysRoleAuthority'
	})
}

export const cacheSysAuthorityApi = () => {
	return request.post({
		url: '/gateway/cache/base/cacheSysAuthority'
	})
}

export const cacheSysBusinessCodeApi = () => {
	return request.post({
		url: '/gateway/cache/base/cacheSysBusinessCode'
	})
}
